import { Request } from '@/utils/request';

const url = {
    statistic: "/common/statistic",
    hotinfo: "/common/hotinfo"
};

export const common = {
    statistic: function (params: any) {
        return Request.axiosInstance({
            url: url.statistic,
            method: 'get',
            params: params
        })
    },
    hotinfo: function (params: any) {
        return Request.axiosInstance({
            url: url.hotinfo,
            method: 'get',
            params: params
        })
    }
}